//
//  Record+CoreDataClass.h
//  RecordApp
//
//  Created by chaichai on 2022/3/2.
//
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class Group;

NS_ASSUME_NONNULL_BEGIN

@interface Record : NSManagedObject
+(instancetype)create:(NSDate *)date;
///查找指定日期(当天)的记录
+(NSArray *)queryRecord:(NSDate *)date;
///查找指定时间段的记录
+(NSArray *)queryRecordBegin:(NSInteger)start withEnd:(NSInteger)end;
@end

NS_ASSUME_NONNULL_END

#import "Record+CoreDataProperties.h"
